package com.example.springboot.pattern.strategy;

public class VIPDiscount implements DiscountStrategy {
    @Override
    public double calculateDiscount(double price) {
        // VIP用户8折
        return price * 0.8;
    }
}

